package com.skyline.energy.datasource;

import javax.sql.DataSource;

public class NodeDataSource extends DelegateDataSource {
	private DataSource dataSource;
	private int shard;

	public int getShard() {
		return shard;
	}

	public void setShard(int shard) {
		this.shard = shard;
	}

	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}

	@Override
	public DataSource getDataSource() {
		return dataSource;
	}

}
